
// banner数据类型
export interface BannerDataType {
    code: string,
    msg: string,
    result: result[]
}

export type result = {
    id: string,
    imgUrl: string,
    hrefUrl: string,
    type: string
}


// 菜单数据类型
export interface NavDataType {
    code: string,
    msg: string,
    result: NavListType[]
}


export type child = {
    id: string,
    name: string,
    picture: string,
    children: child[],
    goods: good[]
}
export type good = {
    id: string,
    name: string,
    desc: string,
    price: string,
    picture: string,
    discount: any,
    orderNum: any
}

export type NavListType = {
    id: string,
    name: string,
    picture: string,
    children: child[],
    goods: good[]
}



